package com.socct.jetpackdemo.room

interface Dao<T, K> {


    fun insert(t: T)

    fun update(t: T)

    fun delete(t: T)

    fun queryById(key: K)

    fun queryAll():List<T>

    fun deleteById(key: K)
}